home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / Tool Chest / Development Platforms / Macintosh Common Lisp Related / User Contributions / oodles-of-utils.sea / oodles-of-utils / low-class-extensions / window-ce.lisp < prev   
MacBinary  |  1992-04-14  |  3.9 KB  |  [TEXT/CCL2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Apr 14 11:20:23 1992, modified Tue Apr 14 11:20:23 1992, creator Common Lisp 2, type ASCII, 3265 bytes "window-ce.lisp" , at 0xd41 442 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CCL2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 77 69 6e 64 6f 77 | 2d 63 65 2e 6c 69 73 70 |..window|-ce.lisp|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 01 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 0c c1 00 | 00 01 ba a6 10 a8 b7 a6 |........|........|
|00000060| 10 a8 b7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f6 ba 00 00 |........|........|
|00000080| 28 69 6e 2d 70 61 63 6b | 61 67 65 20 3a 6f 6f 75 |(in-pack|age :oou|
|00000090| 29 0d 28 6f 6f 75 2d 70 | 72 6f 76 69 64 65 20 3a |).(oou-p|rovide :|
|000000a0| 77 69 6e 64 6f 77 2d 63 | 65 29 0d 3b 3b 3b 3b 3b |window-c|e).;;;;;|
|000000b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000f0| 3b 0d 3b 3b 20 77 69 6e | 64 6f 77 2d 63 65 2e 4c |;.;; win|dow-ce.L|
|00000100| 69 73 70 0d 3b 3b 0d 3b | 3b 20 43 6f 70 79 72 69 |isp.;;.;|; Copyri|
|00000110| 67 68 74 20 a9 20 31 39 | 39 32 20 4e 6f 72 74 68 |ght . 19|92 North|
|00000120| 77 65 73 74 65 72 6e 20 | 55 6e 69 76 65 72 73 69 |western |Universi|
|00000130| 74 79 20 49 6e 73 74 69 | 74 75 74 65 20 66 6f 72 |ty Insti|tute for|
|00000140| 20 74 68 65 20 4c 65 61 | 72 6e 69 6e 67 20 53 63 | the Lea|rning Sc|
|00000150| 69 65 6e 63 65 73 0d 3b | 3b 20 41 6c 6c 20 52 69 |iences.;|; All Ri|
|00000160| 67 68 74 73 20 52 65 73 | 65 72 76 65 64 0d 3b 3b |ghts Res|erved.;;|
|00000170| 0d 3b 3b 20 61 75 74 68 | 6f 72 3a 20 4d 69 63 68 |.;; auth|or: Mich|
|00000180| 61 65 6c 20 53 2e 20 45 | 6e 67 62 65 72 0d 3b 3b |ael S. E|ngber.;;|
|00000190| 0d 3b 3b 20 6d 65 74 68 | 6f 64 73 20 66 6f 72 20 |.;; meth|ods for |
|000001a0| 74 68 65 20 77 69 6e 64 | 6f 77 20 63 6c 61 73 73 |the wind|ow class|
|000001b0| 0d 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |.;;;;;;;|;;;;;;;;|
|000001c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001f0| 3b 3b 3b 3b 3b 3b 3b 0d | 0d 28 6f 6f 75 2d 64 65 |;;;;;;;.|.(oou-de|
|00000200| 70 65 6e 64 65 6e 63 69 | 65 73 0d 20 3a 47 44 65 |pendenci|es. :GDe|
|00000210| 76 69 63 65 2d 75 29 0d | 0d 28 65 78 70 6f 72 74 |vice-u).|.(export|
|00000220| 20 27 28 77 69 6e 64 6f | 77 2d 63 65 6e 74 65 72 | '(windo|w-center|
|00000230| 2d 6f 6e 2d 73 63 72 65 | 65 6e 0d 20 20 20 20 20 |-on-scre|en. |
|00000240| 20 20 20 20 20 29 29 0d | 0d 3b 3b 3b 3b 3b 3b 3b | )).|.;;;;;;;|
|00000250| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000260| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000270| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000280| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 0d |;;;;;;;;|;;;;;;;.|
|00000290| 0d 28 64 65 66 6d 65 74 | 68 6f 64 20 77 69 6e 64 |.(defmet|hod wind|
|000002a0| 6f 77 2d 63 65 6e 74 65 | 72 2d 6f 6e 2d 73 63 72 |ow-cente|r-on-scr|
|000002b0| 65 65 6e 20 28 28 77 20 | 77 69 6e 64 6f 77 29 20 |een ((w |window) |
|000002c0| 77 68 69 63 68 2d 73 63 | 72 65 65 6e 0d 20 20 20 |which-sc|reen. |
|000002d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002f0| 20 26 6b 65 79 0d 20 20 | 20 20 20 20 20 20 20 20 | &key. | |
|00000300| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000310| 20 20 20 20 20 20 20 20 | 20 20 28 75 70 70 65 72 | | (upper|
|00000320| 2d 33 72 64 2d 70 20 74 | 29 0d 20 20 20 20 20 20 |-3rd-p t|). |
|00000330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 6d | | (m|
|00000350| 6f 76 65 2d 6e 6f 77 2d | 70 20 20 74 29 0d 20 20 |ove-now-|p t). |
|00000360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000380| 20 20 28 47 44 65 76 69 | 63 65 20 20 20 20 20 6e | (GDevi|ce n|
|00000390| 69 6c 29 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |il). | |
|000003a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003b0| 20 20 20 20 20 20 20 20 | 28 70 6f 69 6e 74 20 20 | |(point |
|000003c0| 20 20 20 20 20 6e 69 6c | 29 29 0d 20 20 28 77 69 | nil|)). (wi|
|000003d0| 74 68 2d 6d 61 63 70 74 | 72 73 20 28 28 67 64 20 |th-macpt|rs ((gd |
|000003e0| 28 65 63 61 73 65 20 77 | 68 69 63 68 2d 73 63 72 |(ecase w|hich-scr|
|000003f0| 65 65 6e 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |een. | |
|00000400| 20 20 20 20 20 20 20 20 | 20 20 20 28 3a 73 70 65 | | (:spe|
|00000410| 63 69 66 69 65 64 2d 47 | 44 20 20 20 20 20 28 69 |cified-G|D (i|
|00000420| 66 20 28 68 61 6e 64 6c | 65 70 20 47 44 65 76 69 |f (handl|ep GDevi|
|00000430| 63 65 29 20 47 44 65 76 | 69 63 65 20 28 65 72 72 |ce) GDev|ice (err|
|00000440| 6f 72 20 22 62 61 64 20 | 47 44 65 76 69 63 65 22 |or "bad |GDevice"|
|00000450| 29 29 29 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |))). | |
|00000460| 20 20 20 20 20 20 20 20 | 20 20 20 28 3a 64 65 65 | | (:dee|
|00000470| 70 65 73 74 20 20 20 20 | 20 20 20 20 20 20 28 67 |pest | (g|
|00000480| 65 74 2d 6d 61 78 2d 64 | 65 76 69 63 65 29 29 0d |et-max-d|evice)).|
|00000490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004a0| 20 20 20 20 20 20 20 28 | 3a 6d 61 69 6e 20 20 20 | (|:main |
|000004b0| 20 20 20 20 20 20 20 20 | 20 20 28 23 5f 47 65 74 | | (#_Get|
|000004c0| 4d 61 69 6e 44 65 76 69 | 63 65 29 29 0d 20 20 20 |MainDevi|ce)). |
|000004d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004e0| 20 20 20 20 28 3a 63 6f | 6e 74 61 69 6e 69 6e 67 | (:co|ntaining|
|000004f0| 2d 6d 6f 75 73 65 20 28 | 66 69 6e 64 2d 47 44 65 |-mouse (|find-GDe|
|00000500| 76 69 63 65 2d 63 6f 6e | 74 61 69 6e 69 6e 67 2d |vice-con|taining-|
|00000510| 70 6f 69 6e 74 29 29 0d | 20 20 20 20 20 20 20 20 |point)).| |
|00000520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 | | (|
|00000530| 3a 63 6f 6e 74 61 69 6e | 69 6e 67 2d 70 6f 69 6e |:contain|ing-poin|
|00000540| 74 20 28 66 69 6e 64 2d | 47 44 65 76 69 63 65 2d |t (find-|GDevice-|
|00000550| 63 6f 6e 74 61 69 6e 69 | 6e 67 2d 70 6f 69 6e 74 |containi|ng-point|
|00000560| 20 70 6f 69 6e 74 29 29 | 29 29 29 0d 20 20 20 20 | point))|))). |
|00000570| 28 6c 65 74 20 28 28 73 | 74 72 75 63 74 2d 74 6f |(let ((s|truct-to|
|00000580| 70 4c 65 66 74 29 0d 20 | 20 20 20 20 20 20 20 20 |pLeft). | |
|00000590| 20 28 73 74 72 75 63 74 | 2d 62 6f 74 52 69 67 68 | (struct|-botRigh|
|000005a0| 74 29 0d 20 20 20 20 20 | 20 20 20 20 20 28 63 6f |t). | (co|
|000005b0| 6e 74 65 6e 74 2d 74 6f | 70 4c 65 66 74 29 29 0d |ntent-to|pLeft)).|
|000005c0| 20 20 20 20 20 20 28 6c | 65 74 20 28 28 73 68 6f | (l|et ((sho|
|000005d0| 77 6e 2d 70 20 20 20 28 | 77 69 6e 64 6f 77 2d 73 |wn-p (|window-s|
|000005e0| 68 6f 77 6e 2d 70 20 77 | 29 29 0d 20 20 20 20 20 |hown-p w|)). |
|000005f0| 20 20 20 20 20 20 20 28 | 6f 6c 64 2d 77 2d 70 6f | (|old-w-po|
|00000600| 73 20 28 76 69 65 77 2d | 70 6f 73 69 74 69 6f 6e |s (view-|position|
|00000610| 20 77 29 29 29 0d 20 20 | 20 20 20 20 20 20 28 77 | w))). | (w|
|00000620| 69 74 68 2d 6d 61 63 70 | 74 72 73 20 28 28 73 74 |ith-macp|trs ((st|
|00000630| 72 75 63 74 2d 72 67 6e | 20 20 28 70 72 65 66 20 |ruct-rgn| (pref |
|00000640| 28 77 70 74 72 20 77 29 | 20 3a 57 69 6e 64 6f 77 |(wptr w)| :Window|
|00000650| 52 65 63 6f 72 64 2e 73 | 74 72 75 63 52 67 6e 29 |Record.s|trucRgn)|
|00000660| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00000670| 20 20 20 20 20 20 20 20 | 20 28 63 6f 6e 74 65 6e | | (conten|
|00000680| 74 2d 72 67 6e 20 28 70 | 72 65 66 20 28 77 70 74 |t-rgn (p|ref (wpt|
|00000690| 72 20 77 29 20 3a 57 69 | 6e 64 6f 77 52 65 63 6f |r w) :Wi|ndowReco|
|000006a0| 72 64 2e 63 6f 6e 74 52 | 67 6e 29 29 29 0d 20 20 |rd.contR|gn))). |
|000006b0| 20 20 20 20 20 20 20 20 | 28 75 6e 6c 65 73 73 20 | |(unless |
|000006c0| 73 68 6f 77 6e 2d 70 0d | 20 20 20 20 20 20 20 20 |shown-p.| |
|000006d0| 20 20 20 20 3b 68 69 64 | 64 65 6e 20 77 69 6e 64 | ;hid|den wind|
|000006e0| 6f 77 73 20 68 61 76 65 | 20 65 6d 70 74 79 20 73 |ows have| empty s|
|000006f0| 74 72 75 63 74 2f 63 6f | 6e 74 65 6e 74 20 72 65 |truct/co|ntent re|
|00000700| 67 69 6f 6e 73 0d 20 20 | 20 20 20 20 20 20 20 20 |gions. | |
|00000710| 20 20 3b 73 6f 20 77 65 | 20 74 65 6d 70 6f 72 61 | ;so we| tempora|
|00000720| 72 69 6c 79 20 73 68 6f | 77 20 74 68 65 6d 20 28 |rily sho|w them (|
|00000730| 77 61 79 20 74 68 65 20 | 68 65 6c 6c 20 6f 66 66 |way the |hell off|
|00000740| 20 73 63 72 65 65 6e 29 | 0d 20 20 20 20 20 20 20 | screen)|. |
|00000750| 20 20 20 20 20 28 73 65 | 74 2d 76 69 65 77 2d 70 | (se|t-view-p|
|00000760| 6f 73 69 74 69 6f 6e 20 | 77 20 23 40 28 31 36 33 |osition |w #@(163|
|00000770| 38 33 20 31 36 33 38 33 | 29 29 0d 20 20 20 20 20 |83 16383|)). |
|00000780| 20 20 20 20 20 20 20 28 | 23 5f 53 68 6f 77 57 69 | (|#_ShowWi|
|00000790| 6e 64 6f 77 20 28 77 70 | 74 72 20 77 29 29 29 0d |ndow (wp|tr w))).|
|000007a0| 20 20 20 20 20 20 20 20 | 20 20 0d 20 20 20 20 20 | | . |
|000007b0| 20 20 20 20 20 28 73 65 | 74 66 20 73 74 72 75 63 | (se|tf struc|
|000007c0| 74 2d 74 6f 70 4c 65 66 | 74 20 20 28 68 72 65 66 |t-topLef|t (href|
|000007d0| 20 73 74 72 75 63 74 2d | 72 67 6e 20 20 3a 52 65 | struct-|rgn :Re|
|000007e0| 67 69 6f 6e 2e 72 67 6e | 42 42 6f 78 2e 74 6f 70 |gion.rgn|BBox.top|
|000007f0| 4c 65 66 74 29 0d 20 20 | 20 20 20 20 20 20 20 20 |Left). | |
|00000800| 20 20 20 20 20 20 73 74 | 72 75 63 74 2d 62 6f 74 | st|ruct-bot|
|00000810| 52 69 67 68 74 20 28 68 | 72 65 66 20 73 74 72 75 |Right (h|ref stru|
|00000820| 63 74 2d 72 67 6e 20 20 | 3a 52 65 67 69 6f 6e 2e |ct-rgn |:Region.|
|00000830| 72 67 6e 42 42 6f 78 2e | 62 6f 74 52 69 67 68 74 |rgnBBox.|botRight|
|00000840| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00000850| 20 20 63 6f 6e 74 65 6e | 74 2d 74 6f 70 4c 65 66 | conten|t-topLef|
|00000860| 74 20 28 68 72 65 66 20 | 63 6f 6e 74 65 6e 74 2d |t (href |content-|
|00000870| 72 67 6e 20 3a 52 65 67 | 69 6f 6e 2e 72 67 6e 42 |rgn :Reg|ion.rgnB|
|00000880| 42 6f 78 2e 74 6f 70 4c | 65 66 74 29 29 0d 20 20 |Box.topL|eft)). |
|00000890| 20 20 20 20 20 20 20 20 | 0d 20 20 20 20 20 20 20 | |. |
|000008a0| 20 20 20 28 75 6e 6c 65 | 73 73 20 73 68 6f 77 6e | (unle|ss shown|
|000008b0| 2d 70 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 28 |-p. | (|
|000008c0| 23 5f 48 69 64 65 57 69 | 6e 64 6f 77 20 28 77 70 |#_HideWi|ndow (wp|
|000008d0| 74 72 20 77 29 29 0d 20 | 20 20 20 20 20 20 20 20 |tr w)). | |
|000008e0| 20 20 20 28 73 65 74 2d | 76 69 65 77 2d 70 6f 73 | (set-|view-pos|
|000008f0| 69 74 69 6f 6e 20 77 20 | 6f 6c 64 2d 77 2d 70 6f |ition w |old-w-po|
|00000900| 73 29 29 29 29 0d 20 20 | 20 20 20 20 0d 20 20 20 |s)))). | . |
|00000910| 20 20 20 0d 20 20 20 20 | 20 20 28 6c 65 74 2a 20 | . | (let* |
|00000920| 28 28 6d 62 61 72 2d 68 | 67 74 20 28 69 66 20 28 |((mbar-h|gt (if (|
|00000930| 65 71 6c 20 67 64 20 28 | 23 5f 47 65 74 4d 61 69 |eql gd (|#_GetMai|
|00000940| 6e 44 65 76 69 63 65 29 | 29 20 28 23 5f 47 65 74 |nDevice)|) (#_Get|
|00000950| 4d 42 61 72 48 65 69 67 | 68 74 29 20 30 29 29 0d |MBarHeig|ht) 0)).|
|00000960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 77 69 | | (wi|
|00000970| 6e 64 2d 68 67 74 20 28 | 2d 20 28 70 6f 69 6e 74 |nd-hgt (|- (point|
|00000980| 2d 76 20 73 74 72 75 63 | 74 2d 62 6f 74 52 69 67 |-v struc|t-botRig|
|00000990| 68 74 29 20 28 70 6f 69 | 6e 74 2d 76 20 73 74 72 |ht) (poi|nt-v str|
|000009a0| 75 63 74 2d 74 6f 70 4c | 65 66 74 29 29 29 0d 20 |uct-topL|eft))). |
|000009b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 28 77 69 6e | | (win|
|000009c0| 64 2d 77 69 64 20 28 2d | 20 28 70 6f 69 6e 74 2d |d-wid (-| (point-|
|000009d0| 68 20 73 74 72 75 63 74 | 2d 62 6f 74 52 69 67 68 |h struct|-botRigh|
|000009e0| 74 29 20 28 70 6f 69 6e | 74 2d 68 20 73 74 72 75 |t) (poin|t-h stru|
|000009f0| 63 74 2d 74 6f 70 4c 65 | 66 74 29 29 29 0d 20 20 |ct-topLe|ft))). |
|00000a00| 20 20 20 20 20 20 20 20 | 20 20 20 28 73 63 72 6e | | (scrn|
|00000a10| 2d 68 67 74 20 28 2d 20 | 28 68 72 65 66 20 67 64 |-hgt (- |(href gd|
|00000a20| 20 3a 47 44 65 76 69 63 | 65 2e 67 64 52 65 63 74 | :GDevic|e.gdRect|
|00000a30| 2e 62 6f 74 74 6f 6d 29 | 20 28 68 72 65 66 20 67 |.bottom)| (href g|
|00000a40| 64 20 3a 47 44 65 76 69 | 63 65 2e 67 64 52 65 63 |d :GDevi|ce.gdRec|
|00000a50| 74 2e 74 6f 70 29 20 6d | 62 61 72 2d 68 67 74 29 |t.top) m|bar-hgt)|
|00000a60| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 |). | (|
|00000a70| 73 63 72 6e 2d 77 69 64 | 20 28 2d 20 28 68 72 65 |scrn-wid| (- (hre|
|00000a80| 66 20 67 64 20 3a 47 44 | 65 76 69 63 65 2e 67 64 |f gd :GD|evice.gd|
|00000a90| 52 65 63 74 2e 72 69 67 | 68 74 29 20 20 28 68 72 |Rect.rig|ht) (hr|
|00000aa0| 65 66 20 67 64 20 3a 47 | 44 65 76 69 63 65 2e 67 |ef gd :G|Device.g|
|00000ab0| 64 52 65 63 74 2e 6c 65 | 66 74 29 29 29 0d 20 20 |dRect.le|ft))). |
|00000ac0| 20 20 20 20 20 20 20 20 | 20 20 20 28 76 2d 6f 66 | | (v-of|
|00000ad0| 66 20 20 20 20 28 6d 61 | 78 20 28 2b 20 20 6d 62 |f (ma|x (+ mb|
|00000ae0| 61 72 2d 68 67 74 20 28 | 66 6c 6f 6f 72 20 28 2d |ar-hgt (|floor (-|
|00000af0| 20 73 63 72 6e 2d 68 67 | 74 20 77 69 6e 64 2d 68 | scrn-hg|t wind-h|
|00000b00| 67 74 29 20 28 69 66 20 | 75 70 70 65 72 2d 33 72 |gt) (if |upper-3r|
|00000b10| 64 2d 70 20 33 20 32 29 | 29 29 20 6d 62 61 72 2d |d-p 3 2)|)) mbar-|
|00000b20| 68 67 74 29 29 0d 20 20 | 20 20 20 20 20 20 20 20 |hgt)). | |
|00000b30| 20 20 20 28 68 2d 6f 66 | 66 20 20 20 20 28 6d 61 | (h-of|f (ma|
|00000b40| 78 20 28 66 6c 6f 6f 72 | 20 28 2d 20 73 63 72 6e |x (floor| (- scrn|
|00000b50| 2d 77 69 64 20 77 69 6e | 64 2d 77 69 64 29 20 32 |-wid win|d-wid) 2|
|00000b60| 29 20 30 29 29 0d 20 20 | 20 20 20 20 20 20 20 20 |) 0)). | |
|00000b70| 20 20 20 28 70 6f 73 20 | 28 61 64 64 2d 70 6f 69 | (pos |(add-poi|
|00000b80| 6e 74 73 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |nts. | |
|00000b90| 20 20 20 20 20 20 20 28 | 61 64 64 2d 70 6f 69 6e | (|add-poin|
|00000ba0| 74 73 20 28 68 72 65 66 | 20 67 64 20 3a 47 44 65 |ts (href| gd :GDe|
|00000bb0| 76 69 63 65 2e 67 64 52 | 65 63 74 2e 74 6f 70 4c |vice.gdR|ect.topL|
|00000bc0| 65 66 74 29 20 28 6d 61 | 6b 65 2d 70 6f 69 6e 74 |eft) (ma|ke-point|
|00000bd0| 20 68 2d 6f 66 66 20 76 | 2d 6f 66 66 29 29 0d 20 | h-off v|-off)). |
|00000be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000bf0| 20 20 28 73 75 62 74 72 | 61 63 74 2d 70 6f 69 6e | (subtr|act-poin|
|00000c00| 74 73 20 63 6f 6e 74 65 | 6e 74 2d 74 6f 70 4c 65 |ts conte|nt-topLe|
|00000c10| 66 74 20 73 74 72 75 63 | 74 2d 74 6f 70 4c 65 66 |ft struc|t-topLef|
|00000c20| 74 29 29 29 29 0d 20 20 | 20 20 20 20 20 20 0d 20 |t)))). | . |
|00000c30| 20 20 20 20 20 20 20 28 | 77 68 65 6e 20 6d 6f 76 | (|when mov|
|00000c40| 65 2d 6e 6f 77 2d 70 20 | 28 73 65 74 2d 76 69 65 |e-now-p |(set-vie|
|00000c50| 77 2d 70 6f 73 69 74 69 | 6f 6e 20 77 20 70 6f 73 |w-positi|on w pos|
|00000c60| 29 29 0d 20 20 20 20 20 | 20 20 20 70 6f 73 29 29 |)). | pos))|
|00000c70| 29 29 0d 0d 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |))..;;;;|;;;;;;;;|
|00000c80| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000c90| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000ca0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000cb0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 0d 0d 23 7c 0d 0d |;;;;;;;;|;;..#|..|
|00000cc0| 28 73 65 74 66 20 2a 74 | 65 73 74 2d 77 2a 20 28 |(setf *t|est-w* (|
|00000cd0| 6d 61 6b 65 2d 69 6e 73 | 74 61 6e 63 65 20 27 77 |make-ins|tance 'w|
|00000ce0| 69 6e 64 6f 77 29 29 0d | 0d 28 77 69 6e 64 6f 77 |indow)).|.(window|
|00000cf0| 2d 63 65 6e 74 65 72 2d | 6f 6e 2d 73 63 72 65 65 |-center-|on-scree|
|00000d00| 6e 20 2a 74 65 73 74 2d | 77 2a 20 3a 6d 61 69 6e |n *test-|w* :main|
|00000d10| 29 0d 28 77 69 6e 64 6f | 77 2d 63 65 6e 74 65 72 |).(windo|w-center|
|00000d20| 2d 6f 6e 2d 73 63 72 65 | 65 6e 20 2a 74 65 73 74 |-on-scre|en *test|
|00000d30| 2d 77 2a 20 3a 64 65 65 | 70 65 73 74 29 0d 0d 7c |-w* :dee|pest)..||
|00000d40| 23 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |#.......|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 01 00 00 00 01 68 | 00 00 00 68 00 00 00 52 |.......h|...h...R|
|00000d90| 29 0d 28 70 72 6f 76 69 | 64 65 20 3a 77 69 6e 64 |).(provi|de :wind|
|00000da0| 6f 77 2d 63 75 29 0d 3b | 3b 3b 3b 3b 3b 3b 3b 3b |ow-cu).;|;;;;;;;;|
|00000db0| 0e 77 69 6e 64 6f 77 2d | 63 65 2e 6c 69 73 70 77 |.window-|ce.lispw|
|00000dc0| 02 00 00 00 54 45 58 54 | 43 43 4c 32 01 00 00 3c |....TEXT|CCL2...<|
|00000dd0| 00 00 54 45 58 54 43 43 | 4c 32 01 00 00 3c 00 00 |..TEXTCC|L2...<..|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 a4 bd 92 0b 00 00 | 0c c1 00 00 01 ba 70 0d |........|......p.|
|00000e00| 3b 3b 0d 3b 3b 20 43 6f | 70 79 72 69 67 68 74 20 |;;.;; Co|pyright |
|00000e10| a9 20 31 39 39 31 20 4e | 6f 72 74 68 77 65 73 74 |. 1991 N|orthwest|
|00000e20| 65 72 6e 20 55 6e 69 76 | 65 72 73 69 74 79 20 49 |ern Univ|ersity I|
|00000e30| 6e 73 74 69 74 75 74 65 | 20 66 6f 72 20 74 68 65 |nstitute| for the|
|00000e40| 20 4c 65 61 72 6e 69 6e | 67 20 53 63 69 65 6e 63 | Learnin|g Scienc|
|00000e50| 65 73 0d 3b 3b 20 41 6c | 6c 20 52 69 67 68 74 73 |es.;; Al|l Rights|
|00000e60| 20 52 65 73 65 72 76 65 | 64 0d 3b 3b 0d 3b 3b 20 | Reserve|d.;;.;; |
|00000e70| 61 75 74 68 6f 72 3a 20 | 4d 69 63 68 61 65 6c 20 |author: |Michael |
|00000e80| 00 00 00 0a 00 01 00 16 | 0a 00 01 00 00 00 00 00 |........|........|
|00000e90| 00 48 00 0a 43 6f 75 72 | 69 65 72 00 00 00 00 00 |.H..Cour|ier.....|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 06 00 08 | 00 40 01 98 03 31 04 50 |........|.@...1.P|
|00000ec0| 00 40 01 98 03 31 04 50 | 00 00 00 00 00 00 08 18 |.@...1.P|........|
|00000ed0| 00 00 08 18 00 00 01 31 | 01 00 00 00 00 0a 01 20 |.......1|....... |
|00000ee0| 07 43 6f 75 72 69 65 72 | 00 00 01 00 00 00 01 68 |.Courier|.......h|
|00000ef0| 00 00 00 68 00 00 00 52 | 00 e3 06 c4 09 ec 00 00 |...h...R|........|
|00000f00| 00 1c 00 52 00 01 46 52 | 45 44 00 01 00 12 4d 50 |...R..FR|ED....MP|
|00000f10| 53 52 00 00 00 2a 00 02 | ff ff 00 00 00 00 00 00 |SR...*..|........|
|00000f20| 00 00 00 03 ff ff 00 00 | 00 5a 00 00 00 00 03 ed |........|.Z......|
|00000f30| ff ff 00 00 00 0e 00 e3 | e0 7c 00 00 00 00 00 00 |........|.|......|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+